home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr26 / netprog.zip / NETPROG.TAR / inettime / Makefile < prev    next >
Makefile  |  1989-12-17  |  436b  |  28 lines

  1. #
  2. # Makefile for inettime program.
  3. #
  4.  
  5. CFLAGS    = -O
  6. OBJ    = main.o inettime.o
  7. MYLIB    = ../libnet.a
  8.  
  9. all:
  10.     make `systype.sh`
  11.  
  12. bsd:
  13.     make "CFLAGS = " "LIBS = " inettime
  14.  
  15. sys5:
  16.     make "CFLAGS = -I/usr/netinclude" \
  17.         "LIBS = -lnet -lnsl_s" inettime
  18.  
  19. xenix:
  20.     make "CFLAGS = -Ml -I/usr/include/exos" \
  21.         "LIBS = -lsocket" inettime
  22.  
  23. inettime: $(OBJ) $(MYLIB)
  24.       cc -o inettime $(OBJ) $(MYLIB) $(LIBS)
  25.  
  26. clean:
  27.     -rm -f *.o inettime *.out temp.* core
  28.